<?php 
 
namespace app\common\model;

use app\common\model\BaseModel;
use app\common\traits\ModelTrait;
use app\common\utils\JsonService;
/**
* This is the model class for table "{ptf_goods_type}".
*
* @property int $id  
* @property string $type_name 类型名称
*/
class GoodsType extends BaseModel{

    protected $pk = 'id';
    protected $name = 'goods_type';

    use ModelTrait;
    protected $autoWriteTimestamp = true;
    //protected $dateFormat = 'Y-m-d';
    //protected $createTime = 'create_time';
    //protected $updateTime = 'update_time';

    /**
    * {@inheritdoc}
    */
    public function attributeLabels()
    {
        return [
            'id' => '',
            'type_name' => '类型名称',
        ];
    }

}


?>